﻿using BCGM.MedicalWisdom.Model.Models;
using SqlSugar;
using System;
using System.Collections.Generic;

namespace BCGM.MedicalWisdom.Model.ViewModels.Order
{
    public class DrugOrderOutputDto
    {
        /// <summary>
        /// Desc:药品订单主键
        /// Default:
        /// Nullable:False
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int DrugOrderId { get; set; }
        /// <summary>
        /// Desc:订单编号
        /// Default:
        /// Nullable:False
        /// </summary>
        public string OrderCard { get; set; }
        /// <summary>
        /// Desc:用户Id
        /// Default:
        /// Nullable:False
        /// </summary>
        public string UserId { get; set; }
        /// <summary>
        /// Desc:药品规格外键
        /// Default:
        /// Nullable:True
        /// </summary>
        public int? DrugSkuId { get; set; }
        /// <summary>
        /// Desc:订单状态
        /// Default:
        /// Nullable:True
        /// </summary>
        public OrderStatuss OrderStatus { get; set; } = OrderStatuss.等待付款;
        /// <summary>
        /// Desc:支付状态
        /// Default:
        /// Nullable:True
        /// </summary>
        public PayStatuss PayStatus { get; set; } = PayStatuss.未支付;
        /// <summary>
        /// Desc:发货状态
        /// Default:
        /// Nullable:True
        /// </summary>
        public ShippingStatuss ShippingStatus { get; set; } = ShippingStatuss.未发货;
        /// <summary>
        /// Desc:收货状态
        /// Default:
        /// Nullable:True
        /// </summary>
        public ReceivingStatuss ReceivingStatus { get; set; } = ReceivingStatuss.未发货;
        /// <summary>
        /// Desc:地址外键
        /// Default:
        /// Nullable:True
        /// </summary>
        public int? AddressId { get; set; }
        /// <summary>
        /// Desc:创建人
        /// Default:
        /// Nullable:True
        /// </summary>
        public int? Createdby { get; set; }
        /// <summary>
        /// Desc:创建时间
        /// Default:
        /// Nullable:False
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// Desc:更新人
        /// Default:
        /// Nullable:True
        /// </summary>
        public int? Updatedby { get; set; }
        /// <summary>
        /// Desc:更新时间
        /// Default:
        /// Nullable:False
        /// </summary>
        public DateTime UpdatedTime { get; set; }
        /// <summary>
        /// Desc:删除人
        /// Default:
        /// Nullable:True
        /// </summary>
        public int? Deletedby { get; set; }
        /// <summary>
        /// Desc:删除时间
        /// Default:
        /// Nullable:False
        /// </summary>
        public DateTime DeletedTime { get; set; }
        /// <summary>
        /// Desc:逻辑删除
        /// Default:
        /// Nullable:True
        /// </summary>
        public bool IsDeleted { get; set; }
    }


}
